const btn = document.querySelector('button.btn');
const nav = document.querySelector('nav.nav');

btn.addEventListener('click', () => {
  nav.classList.toggle('nav-slide')
})